Kbernetes Configuration
Table of Contents
Install
安装 minikube
和 kubectl
$ curl -s https://mirrors.aliyun.com/kubernetes/apt/doc/apt-key.gpg | sudo apt-key add -
$ echo "deb https://mirrors.aliyun.com/kubernetes/apt/ kubernetes-xenial main" >>/etc/apt/sources.list.d/kubernetes.list
$ apt update && apt install -y kubelet kubectl kubeadm
>
$ uname -m # 查看 CPU 架构
> x86_64
$ curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 # x86-64 架构
$ sudo install minikube-linux-amd64 /usr/local/bin/minikube
$ curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-arm64 # arm64 架构
$ sudo install minikube-linux-arm64 /usr/local/bin/minikube
$ minikube start # root 用户添加参数 --force